<template>
  <div class="box">
    <div class="wrapper">
      <div class="top">
        <ul>
          <li><div></div><span>正品货源</span></li>
          <li><div></div><span>全球采购</span></li>
          <li><div></div><span>品质检验</span></li>
          <li><div></div><span>退换无忧</span></li>
        </ul>
      </div>
      <div class="bottom">
        <ul>
          <li>购物指南</li>
          <li>免费注册</li>
          <li>开通支付宝</li>
          <li>支付宝充值</li>
        </ul>
        <ul>
          <li>ShopGo保障</li>
          <li>发票保障</li>
          <li>发票保障售后规则</li>
          <li>物流时效保障</li>
        </ul>
        <ul>
          <li>支付方式</li>
          <li>快捷支付</li>
          <li>余额宝</li>
          <li>微信支付</li>
        </ul>
        <ul>
          <li>商家服务</li>
          <li>ShopGo规则</li>
          <li>商家入驻</li>
          <li>商家中心</li>
          <li>平台服务协议</li>
        </ul>
        <ul>
          <li>手机ShopGo</li>
          <li>
            <img src="@/assets/二维码.png">
          </li>
        </ul>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "Footer"
}
</script>

<style scoped lang='less'>
.box{
  background-color: white;
  height: 400px;
  .top{
    ul{
      padding: 30px 50px;

      border-bottom: grey 1px solid;

      display: flex;
      justify-content: space-between;

      li{
        position: relative;
        width: 160px;

        &:nth-child(1) div{
          display: inline-block;
          width: 70px;
          height: 70px;
          background: url("@/assets/footer.png");
          background-repeat: no-repeat;
          background-position:  -32px 0;
        }
        &:nth-child(2) div{
          display: inline-block;
          width: 70px;
          height: 70px;
          background: url("@/assets/footer.png");
          background-repeat: no-repeat;
          background-position:  -182px 0;
        }
        &:nth-child(3) div{
          display: inline-block;
          width: 70px;
          height: 70px;
          background: url("@/assets/footer.png");
          background-repeat: no-repeat;
          background-position:  -482px 0;
        }
        &:nth-child(4) div{
          display: inline-block;
          width: 70px;
          height: 70px;
          background: url("@/assets/footer.png");
          background-repeat: no-repeat;
          background-position:  -782px 0;
        }

        span{
          position: absolute;
          top: 20px;
          left: 80px;

          font-size: 20px;
          color: grey;
        }
      }
    }
  }
  .bottom{
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;

    ul {
      padding-top: 60px;

      &:nth-child(1) {
        padding-left: 100px;
      }

      &:last-child {
        padding-right: 100px;
      }

      li {
        font-size: 12px;
        color: darkgrey;
        margin-bottom: 7px;

        &:hover{
          color: black;
          cursor: pointer;
        }

        &:first-child {
          color: grey;
          font-size: 16px;
          font-weight: 700;
          margin-bottom: 10px;
          cursor: auto;
        }
      }

      img{
        width: 100px;
      }
    }
  }
}
</style>
